<?php

namespace App\Http\Controllers;

use App\User;
use Illuminate\Support\Facades\DB;

class ExampleController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    public function index(){
//        var_dump("测试数据 lumen");die;
        $ret = User::whereIn('unionId', [1, 2])->get();

//        $ret = DB::table('h5ds_user')->whereIn('unionId1', [1, 2])->get();
        return $ret;
    }

    //
}
